SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}Riesweiler{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}' OR prCity = 'Riesweiler' OR prZip = 'Riesweiler' OR prStreet LIKE '{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}Riesweiler{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}' OR prCountry = 'Riesweiler') AND (prLocation LIKE '{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}Germany{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}Germany{3c73ce1df013ca8c8c56e4fa05025d26175e4f2f6619e4f99a7d84a76267a050}' OR prCountry = 'Germany')